package com.lagou.orders.feign;

import com.lagou.domain.Goods;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @description:  服务降级
 **/
@Component
public class GoodsFeignFallback implements GoodsFeign {
    @Override
    public List<Goods> getGoodsById(List<Integer> ids) {
        return new ArrayList<>();
    }

    @Override
    public String getPort() {
        return "-1";
    }
}
